@page "{name?}"

@{
    Layout = "_BarLayout";
}

@functions{
    [FromRoute]
    public string Name { get; set; }
}

<h1>Module Bar Page</h1>

<p>Name: @(Name ?? "Without name")</p>
